package com.iplant.aps.service.po.fpc;

import java.io.Serializable;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Map;

public class FPCRoutePartPoint implements Serializable {

    private static final long serialVersionUID = 1L;

    public int ID = 0;

    public int RouteID = 0; // 工艺版本ID

    public int PartID = 0; // 工序组ID

    public int PartPointID = 0;

    public String Code = "";

    public int OrderID = 0; // 循序

    public Calendar CreateTime = Calendar.getInstance();

    public int CreatorID = 0;

    public String PartName = "";

    public String PartPointName = "";

    public String Creator = "";

    public String VersionNo = ""; // 工艺版本

    public String RouteName = ""; // 工艺名称

    public int PrevStepID = 0;// 上工序路线ID

    /**
     * 标准工时
     */
    public Double StandardPeriod = 0.0;

    /**
     * 调整工时 新增字段
     */
    public Double ActualPeriod = 0.0;

    /**
     * 新增字段 满足工艺需求
     */
    public String DefaultOrder = "";

    public Map<String, String> NextStepIDMap = new HashMap<String, String>();// 上工段路线ID

    /**
     * 版本信息
     */
    public String Version = "";

    /**
     * TC物料传输码
     */
    public String MaterialNo_S = "";
    /**
     * 工序特性
     */
    public int Characteristic = 0;
    /**
     * 工序类型
     */
    public int PartPointType = 0;
    /**
     * 制造目标数量
     */
    public double TargetNum = 0.0;

    public String MaterialNo = "";

    public FPCRoutePartPoint() {
        this.PartName = "";
        this.PartPointName = "";
        this.VersionNo = "";
        this.Creator = "";
        this.CreateTime = Calendar.getInstance();
    }

    public FPCRoutePartPoint Clone() {
        FPCRoutePartPoint wItem = new FPCRoutePartPoint();
        wItem.ID = this.ID;
        wItem.RouteID = this.RouteID;
        wItem.PartID = this.PartID;
        wItem.PartPointID = this.PartPointID;
        wItem.OrderID = this.OrderID;

        wItem.CreatorID = this.CreatorID;
        wItem.CreateTime = this.CreateTime;
        wItem.Creator = this.Creator;

        return wItem;
    }

    public String getMaterialNo() {
        return MaterialNo;
    }

    public void setMaterialNo(String materialNo) {
        MaterialNo = materialNo;
    }

    public int getID() {
        return ID;
    }

    public void setID(int iD) {
        ID = iD;
    }

    public Double getStandardPeriod() {
        return StandardPeriod;
    }

    public Double getActualPeriod() {
        return ActualPeriod;
    }

    public String getDefaultOrder() {
        return DefaultOrder;
    }

    public String getVersion() {
        return Version;
    }

    public void setStandardPeriod(Double standardPeriod) {
        StandardPeriod = standardPeriod;
    }

    public void setActualPeriod(Double actualPeriod) {
        ActualPeriod = actualPeriod;
    }

    public void setDefaultOrder(String defaultOrder) {
        DefaultOrder = defaultOrder;
    }

    public void setVersion(String version) {
        Version = version;
    }

    public int getRouteID() {
        return RouteID;
    }

    public void setRouteID(int routeID) {
        RouteID = routeID;
    }

    public int getPartID() {
        return PartID;
    }

    public void setPartID(int partID) {
        PartID = partID;
    }

    public int getPartPointID() {
        return PartPointID;
    }

    public void setPartPointID(int partPointID) {
        PartPointID = partPointID;
    }

    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }

    public Calendar getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Calendar createTime) {
        CreateTime = createTime;
    }

    public int getCreatorID() {
        return CreatorID;
    }

    public void setCreatorID(int creatorID) {
        CreatorID = creatorID;
    }

    public String getPartName() {
        return PartName;
    }

    public void setPartName(String partName) {
        PartName = partName;
    }

    public String getPartPointName() {
        return PartPointName;
    }

    public void setPartPointName(String partPointName) {
        PartPointName = partPointName;
    }

    public String getCreator() {
        return Creator;
    }

    public void setCreator(String creator) {
        Creator = creator;
    }

    public String getVersionNo() {
        return VersionNo;
    }

    public void setVersionNo(String versionNo) {
        VersionNo = versionNo;
    }

    public String getRouteName() {
        return RouteName;
    }

    public void setRouteName(String routeName) {
        RouteName = routeName;
    }

    public int getPrevStepID() {
        return PrevStepID;
    }

    public void setPrevStepID(int prevStepID) {
        PrevStepID = prevStepID;
    }

    public Map<String, String> getNextStepIDMap() {
        return NextStepIDMap;
    }

    public void setNextStepIDMap(Map<String, String> nextStepIDMap) {
        NextStepIDMap = nextStepIDMap;
    }

    public String getCode() {
        return Code;
    }

    public void setCode(String code) {
        Code = code;
    }

    public String getMaterialNo_S() {
        return MaterialNo_S;
    }

    public void setMaterialNo_S(String materialNo_S) {
        MaterialNo_S = materialNo_S;
    }

    public int getCharacteristic() {
        return Characteristic;
    }

    public void setCharacteristic(int characteristic) {
        Characteristic = characteristic;
    }

    public int getPartPointType() {
        return PartPointType;
    }

    public void setPartPointType(int partPointType) {
        PartPointType = partPointType;
    }

    public double getTargetNum() {
        return TargetNum;
    }

    public void setTargetNum(double targetNum) {
        TargetNum = targetNum;
    }
}
